package com.better.backend.mqReceiverService.questionReceiver.model;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;


/**
 * 试卷题目(数据同步)Entity
 *
 * @author wangfuming
 * @version 2017-09-18
 */
public class QuestionModel implements Serializable {

    private static final long serialVersionUID = 1L;
    private String id;
    private String parentId;
    private String questionNo;  //题目编号
    private String score;   //题目得分
    private String parentIds;   //父级题目ID
    private List<PointPaperModel> pointPaperListVo;    //小题知识点集合
    private Boolean isChoose;   //是否选做

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getQuestionNo() {
        return questionNo;
    }

    public void setQuestionNo(String questionNo) {
        this.questionNo = questionNo;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score;
    }

    public String getParentIds() {
        return parentIds;
    }

    public void setParentIds(String parentIds) {
        this.parentIds = parentIds;
    }

    public List<PointPaperModel> getPointPaperListVo() {
        return pointPaperListVo;
    }

    public void setPointPaperListVo(List<PointPaperModel> pointPaperListVo) {
        this.pointPaperListVo = pointPaperListVo;
    }

    public Boolean getChoose() {
        return isChoose;
    }

    public void setChoose(Boolean choose) {
        isChoose = choose;
    }

    public BigDecimal getDeciScore(){
        return new BigDecimal(this.getScore());
    }
}